import request from '@/util/request.js';

/**
 * @description 获取农村经营主体
 * @param {Object} data
 */
export function getVillage(data) {
	return request({
		url: '/getArticleByType',
		method: 'GET',
		data
	})
}

/**
 * @description 获取农村经营主体详情
 * @param {Object} data
 */
export function getArticleInfo(data) {
	return request({
		url: '/getArticleInfo',
		method: 'GET',
		data
	})
}
/**
 * @description 招工用工列表
 * @param {Object} data
 */
export function getRecruitList(data) {
	return request({
		url: '/recruit/getRecruitList',
		method: 'GET',
		data
	})
}
/**
 * @description 获取招工用工详情
 * @param {Object} data
 */
export function getRecruitDetail(data) {
	return request({
		url: '/recruit/getRecruit',
		method: 'GET',
		data
	})
}
/**
 * @description 招商引资列表
 * @param {Object} data
 */
export function getMerchants(data) {
	return request({
		url: '/merchants/getMerchantsList',
		method: 'GET',
		data
	})
}
/**
 * @description 招商引资详情
 * @param {Object} data
 */
export function getMerchantsDetail(data) {
	return request({
		url: '/merchants/getMerchants',
		method: 'GET',
		data
	})
}

/**
 * @description 乡镇导览
 * @param {Object} data
 */
export function townshipList(data) {
	return request({
		url: '/getTownList',
		method: 'GET',
		data
	})
}
/**
 * @description 品牌农产品列表
 * @param {Object} data
 */
export function specialList(data) {
	return request({
		url: '/getGobiList',
		method: 'GET',
		data
	})
}
/**
 * @description 品牌农产品详情
 * @param {Object} data
 */
export function specialDetail(data) {
	return request({
		url: '/getGobiInfo',
		method: 'GET',
		data
	})
}